<%@ page pageEncoding="utf-8"%> 
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><fmt:message key="vipTypeList.title"/></title> 
<link rel="stylesheet" type="text/css" media="all"	href="<c:url value='/styles/layout.css'/>" />
<script language="JavaScript" type="text/JavaScript">
<!--

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
function doReset(t1,t2){
		document.getElementById(t1).value="";
		document.getElementById(t2).value="";

}
//-->
</script>
</head>

<link rel="stylesheet" href="styles/thickbox.css" type="text/css" media="screen" />
<script src="<c:url value="/scripts/date.js"/>" language="javascript"></script>
<body leftmargin="0" topmargin="0">
<html:form action="report.html?method=notifyView" method="post" styleId="reportForm">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="36" class="home-content-title"><img src="images/passenger.gif" width="22" height="20" align="absmiddle">旅客通知情况</td>
  </tr>

  <tr>
    <td height="566" valign="top"> 
      <table width="100%" height="19%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="2" class="home-table-topline"> </td>
        </tr>
        <tr> 
          <td height="71" class="home-table-leftline"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td class="home-table-tool-content">&nbsp;</td>
            </tr>
            <tr>
              <td valign="top" class="home-edittable-space"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td>
                      <tr>
    <td height="30" class="home-search-space">
	 <table border="0" cellpadding="0" cellspacing="0">
	   <tr height="30" class="home-search-space">
		  <td width="8%" align=right>航班号：</td><td width="15%"><input name="flightNum" id="flightNum"  class="home-table-inputbox" size="10"/></td>
      	  
		  <td width="10%" align=right>始发站：</td>
      	  <td width="18%">
			 <html:select name="reportForm" property="departureAirport" size="1" styleId="departureAirport" style="width:80px" >
			   <html:option  value="">&nbsp;</html:option> 
			   <html:options collection="cityInfo"  property="code" labelProperty="name"/> 
			 </html:select></td>
     	   <td width="10%" align=right>终点站：</td>
           <td width="18%">
			  <html:select name="reportForm" property="arrivalAirport" size="1" styleId="arrivalAirport" style="width:80px" >
			  	 <html:option  value="">&nbsp;</html:option> 
			  	 <html:options collection="cityInfo" property="code" labelProperty="name"/> 
			  </html:select></td>
		 <td width="18%">&nbsp;<input type="submit" class="home-inputBtn" name="Submit232" value="查询" onclick="search();">&nbsp;&nbsp;&nbsp;
      	   <input name="Submit3" type="button" class="home-inputBtn" value="重置" onClick="doReset('flightNum','departureAirport','arrivalAirport','flightDate','fromtime','totime')"/>
      	   </td>
      	   <td>&nbsp;</td>
      	 </tr>
      	  <tr height="30" class="home-search-space">
      	  <td  align=right>航班日期：</td><td><input type="text" name="flightDate" Id="flightDate" value="<c:out value='${currentDate}'/>" class="home-table-inputbox"  size="10"/>
      	   <img src="images/date.gif" width="16" height="15" onclick="fPopCalendar(flightDate,flightDate);return false"/>
      	  </td>	  
           <td align=right>起始发布时间：</td><td><input type="text" name="fromtime" id="fromtime" value="<c:out value='${currentDateTime}'/>" class="home-table-inputbox" style="width:125px" size="10"/>
      	   <img src="images/date.gif" width="16" height="15" onclick="fPopTimestamp(fromtime,fromtime);return false"/></td>
      	   <td align=right>结束发布时间：</td><td><input type="text" name="totime" id="totime" value="<c:out value='${currentDateTime}'/>" class="home-table-inputbox" style="width:125px" size="10"/>
      	   <img src="images/date.gif" width="16" height="15" onclick="fPopTimestamp(totime,totime);return false"/></td>
      	   
      	   
		</tr>
	</table>
  </tr>
                   
                        
                        
                 
              </table></td>
            </tr>
          </table>
          <tr>
          <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        
              <tr>
                <td height="2" class="home-table-bottom-left"></td>
                <td class="home-table-bottom-bg">&nbsp;</td>
                <td class="home-table-bottom-right">&nbsp;</td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td height="210">&nbsp;</td>
        </tr>
    </table>	  </td>
  </tr>
  <tr>
    <td height="10">&nbsp;</td>
  </tr>
</table>
</html:form> 
</body>
<script type="text/javascript">
function doReset(t1,t2,t3,t4,t5,t6){
		document.getElementById(t1).value="";
		document.getElementById(t2).value="";
		document.getElementById(t3).value="";
		document.getElementById(t4).value="";
		document.getElementById(t5).value="";
		document.getElementById(t6).value="";
}
function search(){
	//alert("come search!");
	//将需要验证的ID传入数组
	var propertyArray = new Array();
	propertyArray.push("flightNum");
	propertyArray.push("flightDate");
	propertyArray.push("departureAirport");
	propertyArray.push("arrivalAirport");
	propertyArray.push("startCreateTime");
	propertyArray.push("endCreateTime");
	//alert(propertyArray.length)
	//把验证数组传入验证特殊字符函数
	var result=checkSpecialInput(propertyArray);
	//alert("result="+result);
	if(result==true||result==null){
	    reportForm.submit();
	     
	}else{
	    alert(result);
	}
}	
</script>
<script src="<c:url value="/scripts/timestamp.js"/>" language="javascript"></script>
</html>
<%@ include file="/common/script.jsp"%>
